<?php /* Smarty version Smarty-3.1.18, created on 2015-03-17 16:02:59
         compiled from "/data/www/mystery/protected/modules/webadmin/views/staff/list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:29045481554d193ce8d7d93-06711687%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6abff56d26927f6333d4d7c5b96c25a2fa02c978' => 
    array (
      0 => '/data/www/mystery/protected/modules/webadmin/views/staff/list.tpl',
      1 => 1423529984,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '29045481554d193ce8d7d93-06711687',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54d193ce94ab02_11432797',
  'variables' => 
  array (
    'list' => 0,
    'val' => 0,
    'staff_id' => 0,
    'page' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54d193ce94ab02_11432797')) {function content_54d193ce94ab02_11432797($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("../common/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<table width="100%" border="0" cellspacing="0">
 <tr>
       <td width="13%" valign="top">
           <?php echo $_smarty_tpl->getSubTemplate ("../common/left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

       </td>
       <td width="87%" valign="top">

               <table width="100%" border="0" cellspacing="0">
                 <tr>
                       <td>
                            <div class="subnav">
                                <div class="content-menu ib-a blue line-x"> 
                                <a href="/webadmin/staff/network?open_staff=1"><em>排班网点管理</em></a>
                                <!--<span>|</span>
                                <a href="/webadmin/staff/add"><em>添加员工</em>-->
                                <div class="clearbox"></div>
                            </div>
                               </div>

                               <div class="pad_10">
                                 <div class="table-list">
                                 <table width="100%">
                                       <thead>
                                         <tr>
                                               <th width="128" align="left">姓名</th>
                                               <th width="474" align="left">岗位</th>
                                               <th width="271" align="left">工号</th>
                                               <th width="231" align="left">是否临柜</th>
                                               <th width="128" align="left">是否调岗</th>
                                               <th width="474" align="left">调动后岗位</th>
                                               <th width="271" align="left">调动时间</th>
                                               <th width="231" align="left">班次安排</th>
                                               <th width="271" align="left">相片</th>
                                               <th width="231" align="left">操作</th>
                                         </tr>
                                       </thead>
                                 <tbody>
                                     <?php if ($_smarty_tpl->tpl_vars['list']->value) {?>
                                     <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
                                          <tr onMouseOver="this.className='tr2'" onMouseOut="this.className='tr1'" class="tr1">
                                               <td align="left"><?php echo $_smarty_tpl->tpl_vars['val']->value['staff_name'];?>
</td>
                                               <td align="left"><?php echo $_smarty_tpl->tpl_vars['val']->value['station'];?>
</td>
                                               <td align="left"><?php echo $_smarty_tpl->tpl_vars['val']->value['staff_identifier'];?>
</td>
                                               <td align="left"><?php if ($_smarty_tpl->tpl_vars['val']->value['temporary']==1) {?>是<?php } else { ?>否<?php }?></td>
                                               <td align="left"><?php if ($_smarty_tpl->tpl_vars['val']->value['shift']==1) {?>是<?php } else { ?>否<?php }?></td>
                                               <td align="left"><?php echo $_smarty_tpl->tpl_vars['val']->value['new_station'];?>
</td>
                                               <td align="left"><?php echo $_smarty_tpl->tpl_vars['val']->value['shift_time'];?>
</td>
                                               <td align="left"><a href="/webadmin/staff/schedule?staff_id=<?php echo $_smarty_tpl->tpl_vars['val']->value['staff_id'];?>
">查看详情</a></td>
                                               <td align="left"><?php if ($_smarty_tpl->tpl_vars['val']->value['photo']) {?><img src="<?php echo $_smarty_tpl->tpl_vars['val']->value['photo'];?>
"  width="31" height="30" /><?php }?></td>
                                               <td align="left"><a href="javascript:;" onlick="del(<?php echo $_smarty_tpl->tpl_vars['staff_id']->value;?>
);">排班</a> | <a href="javascript:;" onlick="del(<?php echo $_smarty_tpl->tpl_vars['staff_id']->value;?>
);">删除</a></td>
                                         </tr>
                                         <?php } ?>
                                    <?php }?>
                                 </tbody>
                            </table>
                    <div id="pages"><?php echo $_smarty_tpl->tpl_vars['page']->value;?>
</div>
                    </div>
                  </div>
          </td>
    </tr>
    </table>

        </td>
  </tr>
</table>
<?php echo $_smarty_tpl->getSubTemplate ("../common/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<script type="text/javascript" src='/js/layer/layer.min.js'></script>
<script type="text/javascript" src='/js/layer/extend/layer.ext.js'></script>
<?php }} ?>
